package com.ideaaedi.zoo.example.springboot.seata.alpha.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ideaaedi.zoo.example.springboot.seata.alpha.entity.SysUserPO;

public interface SysUserService extends IService<SysUserPO>  {
    
    /**
     * feign调用beta微服务添加角色成功，本地添加用户失败
     */
    SysUserPO test();
    
    /**
     * 测试GlobalTransactional注解嵌套
     */
    SysUserPO testNested();
    
    /**
     * feign调用beta微服务添加角色成功，本地添加用户失败
     */
    SysUserPO testManual();
    
    /**
     * 测试GlobalTransactional注解嵌套
     */
    SysUserPO testNestedManual();
    
    
    /**
     * 增加随机用户（by local）、及随机角色(by feign)
     */
    SysUserPO addRandomUserRole();
    
    
    /**
     * 增加随机用户（by local）、及随机角色(by feign)
     */
    SysUserPO addRandomUserRoleManual();
}
